package zhu.areas.dic.data;

import java.util.HashSet;
import java.util.Set;


/**
 * @hibernate.class  table="D_TeamRole"   dynamic-insert="true"  dynamic-update="true"
 * @author Administrator
 *
 */
public class TeamRole {

	private int teamRoleID;
	
	private String teamRoleName;
	
	private Set teamMember = new HashSet(0);
	
	public TeamRole(){}
	
	public TeamRole(int teamRoleID){
		this.teamRoleID=teamRoleID;
	}

	
	/**
	 * @hibernate.id column="TeamRoleID"  generator-class="increment"  unsaved-value="null"
	 * @return
	 */
	public int getTeamRoleID() {
		return teamRoleID;
	}

	public void setTeamRoleID(int teamRoleID) {
		this.teamRoleID = teamRoleID;
	}

	
	/**
	 * @hibernate.property column = "TeamRoleName"     not-null="true"
	 * @return
	 */
	public String getTeamRoleName() {
		return teamRoleName;
	}

	public void setTeamRoleName(String teamRoleName) {
		this.teamRoleName = teamRoleName;
	}
	/**
	 * @hibernate.set table="T_TeamMembers" inverse="true" lazy="false"
	 * @hibernate.collection-key column="TeamRoleID"
	 * @hibernate.collection-one-to-many class="zhu.areas.team.data.TeamMembers"
	 *                                  
	 */
	public Set getTeam() {
		return teamMember;
	}

	public void setTeam(Set teamMember) {
		this.teamMember = teamMember;
	}

	
}
